using ASP;
using HoWave.Common;
using HoWave.Web;
using HoWave.Web.Shop;
using System;
using System.Data;
using System.Web.Profile;
using System.Web.SessionState;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
public class List : Shop, IRequiresSessionState
{
	private Shop_Article _article = null;
	protected UserControls_cmpy_Top Top1;
	protected Label txtTitle;
	protected Literal Literal1;
	protected Repeater artistList;
	protected Shop_UserControls_ShowProduct ShowProduct65;
	protected Shop_UserControls_ShowProduct ShowProduct59;
	protected UserControls_CMYP_Foot Foot1;
	protected HtmlForm form1;
	protected Shop_Article m_article
	{
		get
		{
			Shop_Article article;
			if (this._article == null)
			{
				this._article = new Shop_Article(this.conn);
				article = this._article;
			}
			else
			{
				article = this._article;
			}
			return article;
		}
	}
	protected DefaultProfile Profile
	{
		get
		{
			return (DefaultProfile)this.Context.Profile;
		}
	}
	protected global_asax ApplicationInstance
	{
		get
		{
			return (global_asax)this.Context.ApplicationInstance;
		}
	}
	protected void Page_PreInit(object sender, EventArgs e)
	{
		int iD = Fetch.GetID("cid");
		if (iD < 1)
		{
			this.WriteErrMsg("", Language.Get("Common/NotData"), "");
		}
		try
		{
		}
		catch (Exception ex)
		{
			base.WriteTemErrMsg(ex.Message.ToString());
		}
		this.Literal1.Text = (this.txtTitle.Text = this.conn.GetScalar("SELECT Title FROM HLShop_Module WHERE id=" + iD, new IDbDataParameter[0]).ToString());
		DataTable dataTable = this.conn.GetDataTable("SELECT ArticleID, ShortTitle,UpdateTime FROM HLShop_IndexArticle WHERE ChannelID=" + iD);
		this.artistList.DataSource = dataTable;
		this.artistList.DataBind();
		dataTable.Dispose();
	}
	protected void Page_Load(object sender, EventArgs e)
	{
		base.ShowCityArea();
	}
	public void ChangePage(object sender, EventArgs e)
	{
	}
}
